# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=logstalgia
pkgver=1.1.4
pkgrel=2
pkgdesc="A website access log visualisation tool"
url="https://logstalgia.io/"
arch="all"
license="GPL-3.0-or-later"
makedepends="
	boost-dev
	freetype-dev
	ftgl-dev
	glew-dev
	glm-dev
	jpeg-dev
	libpng-dev
	pcre2-dev
	sdl2-dev
	sdl2_image-dev
	"
subpackages="$pkgname-doc"
source="https://github.com/acaudwell/Logstalgia/releases/download/logstalgia-$pkgver/logstalgia-$pkgver.tar.gz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

check() {
	make check
}
package() {
	make prefix=$pkgdir/usr install
}

sha512sums="
54036abae0b846d354edf27f39bfb4f324806d3e376d32d89df8aadf145819980d6a637a914fe400458d5fb46097990083e5cde0b2a5bb3351a99b4ad7471619  logstalgia-1.1.4.tar.gz
"
